'''
字符串
'''
str1 = 'hello\n'
str2 = "你\'好"
str3 = '''
\t你好，
世\\界
'''
print(str1, str2, str3)
str4 = '\u738b'
print(str4)
# num = 0
# for i in range(0x4e00, 0x9fa5 + 1):
#     print(chr(i), end=' ')
#     num += 1
#     if num % 30 == 0:
#         print()
print(hex(ord('王')))
str1 = 'hello python 大哥'
print(str1[1])
print(str1[:-1])
# for i,v in enumerate(str1):
#     print('下标{}值{}'.format(i,v))
s = 'abc'
s2 = '132'
print(s + ' ' + s2)
print(s * 3)
print('A'.isupper())
print('\u4e00' <= '王' <= '\u9fa5')  # 判断是不是中文
print('1'.isnumeric())

a = [100]
print(str(a),len(a),len(str(a)))
